Version 4 of KN readonly mode patch - automation via "DateCompare()"