* Output header at start of script. * Output footer at end. * Add a bunch more progress report to magic output. * Make script return the same exit code as magic.