scripts for watching dir