Add repack script for sa77