Fixed major badness. Can now run most modules on localhost