fix repack process so it doesn't pause and wait for user input