add system hooks dir support