fixing deploy script env variable