OK i've identified the issue. @bonienl is there a way to get the global $display variable populated for a PHP page that is not a .page file? Seems that for just standard PHp files, the global $display is not populated and thats how I am checking what the settings are, or is there another way I should be checking for the settings?