Add hooks path and loggind