fix broken restart webscript