add scripts for repacking