Hook for macOS

Apply knowledge.