checking config is part of init, plus some formatting. Verified this runs on my new Ubuntu 13.10 too.