Added Helper function to retrieve use_external_id value from config
Replaced how external_id value is retrieved. Now calls to the new helper func