Bruno17 mods for lowercase category
Bruno17 mods - initialize modx in build.transport only if necessary