Click on the flag.
This works by having almost exact copy's of the same script on each bat with the destination changed for each wing flap, the messages on Bat2 tell the ghost when to do things.