add new script dealing with removal of environment variables caused by sudo.