correct script compile env