add environment to validators