made delay script a case of trigger script