setConfig now takes a table, not config file
changes