Configureable hook directory added, fixes #4