added symp ids to logging when article is skipped
Moved logic for processing each article into a function
added option to only process relations if a record is skipped