changed path hooks