changed page content to php files for php goodness, also added check for new plugins ad the variables will not be on older pages and may throw errors.  Finally converted all old pages to new template format