config.params should be configurations[config].params