refactor production env to remove duplicates