Legislators take steps toward making it safer to hike and bike