error checking, renaming, and new configs
minor
initial phaseCount support