Adding postMessage option for scheduling