outlined and updated pathway extraction script for demo