check for existence of inotifywait before running
merge resolved