Implemented support for legacy audio in the publishing script.