Changed dirs detection