move environment variables to CONFIG constant