Updated the reset script