deleteIdleStats and update scripts