Modified ob_start procedure