Change wait script