minor changes to how server runs