abstract out environment variables