updated, now global config settings is passed along to each module