adding hard reset to deploy script