Changed order of loading configs and fixed indentation.