New Virginia laws to take effect July 1