run shell when file dir is changed