Script class takes care of running scripts
Improved/updated comments.
FunctionList can catch and log exceptions.