@ DGuy: Try to add #include <default.c> in your mainscript.