remove debugging output
pass-though QAP flags on upgrade (fixes OC mode when upgrading)