added save_paths code