refactored import_helper functions, using benefince_setup to share global variables