add script support for setup & cleanup the _ between prefix

Small fixes to help with my current situation

* add support for calling the setup function from scripts
* fix the prefix underscore in the setup function