Added sleep time to sample script