Fixes for run_on_create, function cleanup
Merge pull request #20 from adnichols/debug_bug_fix

Fixes for run_on_create, function cleanup