Updated template condition for including audio code