updated to fix the require on main.coffee