Configuration-checking code wasn't being called due to indenting