Corrected Hook Script