moved environment values to scm