Updated to use ob_end_clean();