added environment variables for main options