tightening up tasks, and reset script