Applescript for syncing OF tasks to Apple Calendar

I have taken this draft from unlocked2412 and a separate iterative update from Rosemary Orchard and have developed a script that works very well for my needs - please refer to OmniFocus Tasks to Calendar