fixed directory of SQL files in hook