switched to config.js from environment variables