adding the repack script