nhertis
fixed inherited class
fixes to allow named instances
added log_spool var
fixed