Removed cleanup function logic which screws up some projects and coffeescript