Changed some stuff on how the config is received