Separated plan and search results flows into two separte html pages and scripts