Correcting the order of monitoring scripts.