add repack script