added a move_dirs method