Updated find and replace to restore missing meta tags