This is not correct. `run()` needs to run BEFORE `ob_get_clean()` (like you did before).