set enviroment for scripts