Created script that tests how to load a module programatically.
Improved error handling in loading module script.