added execute environment to compile script