You can also use Exit in the mainscript - cause Kixtart knows what is mainline versus called script. If in mainline - exit totally.