Updated logic to play better with the configs. Should render better now.