Add production/development environment check in config.