Changing dirpath.