Added feature to specify the path to watch