added ability to dynamically add page name to views for dynamic loading