Script to fetch tertiary ways