Fixed issues caused from making it stand-alone
Nicer error for no config