runscript function

Run a package script