remove dev and tests from env