finishing createPackage script