Loading configs properly