Polished reset script