script is working - corrected response recording and timing