Added secure pages and BAM