Run hooks
Allow configuration of hook directory