added a scriptloader (base class)