Rewritten script for packagedb => bugzilla