Auto current working directory update system