modified path saver