check for existence of inotifywait before running