Added ability for dynamic pages