Slightly better reset script