checkpoint mods to server.js