Make hook path configurable