save paths as well