updated Run script to have max sprint time and cooldown.