added environment in script.