Insert with cursor now works with callbacks (file may've switched,
therefore a new context/script may be needed).