Fixed hook creation command