fixed up package script