Fix the allstatus script