This script drives the events in bpm base.