clean up shell script environment variables