fixes loading of plugin code
removes commented out code