Added the ability to save paths