Completed server start, stop, restart rewrite