fixed restartServer script