Add watching dir functions