Tweaked paths_to_id.tt