Town, county agree on Greenway project