Make c hooks only active when at work