added terminate-env.sh