added buildpackage script