updated image plugin. added directory watcher