Adding sleep statement that was supposed to be in the script