Fixes

-  Fixed a few minor issues causing scripted items to not function, and
tested them.