Added the <app> positioning code