some scripts for environment settings