Revert "Simplified the scrip API a bit (insert cursor/links are no longer task"

I do it different.

This reverts commit 4fa3c33d6baf244f862ca08b824d6094a75d0f6a.
Fix create changed event action.