Fix env variable in script