use of environment variable in insremot