environment reset script