Config can now be passed directly in