adding get_env_variable function