added first dirty vers of inotify script