Changed shell script of inotifywait