attempt at passing config to plugins