[CS] Use $ENVIRONMENT in run.sh (where it exists)