modescript callback settings

(untested)