AppleScript for Flagged Items

I have recently upgraded my MacBook Air and needed to reinstall OmniFocus. There was a great AppleScript for Deferred Items that would automatically flag an item on the date is was differed. In other words, if I had a task that was deferred until January 6th, when I ran the script on the 6th, it would automatically flag that item.

Does anyone remember this script and where it is located?
Thanks!
Clay

I just saw there was a separate forum for applescripts. Will cross post there.

Sorry!
Clay