improve makeEnvironment.sh
remove unsed