run regular executables in a directory as hooks