Fix to Null pointer

Removed unused code that was from our old system.
Merge pull request #132 from lring/scriptbuilder-plugins

Fix to Null pointer