cleans up prints, adds root subject name config option
cleanup