Refactor switch context ASM files to comply to Wizard.