added delay script