add script to wait for event