using "environments" in config
fixed imported main.coffee