packagedb script