Add dedicated hook for mac and pc