script to grab relevant openpaths points