run the scripts of a package and format output