added a delay script that could easily be modified to delay for a minimum period of time