Added inotify support