Fixes #3: Added ability to load external subs properly