Updated params on end_script option on hook to return $html too