Fixed missing environment variables in run script