Should also support windows events/scripts.