fixed monitor.php not running if delete_parts ="true" and not the 5th loop