Fix for the config and a tweak to pyramid generation.