changing varibles and config, adding setvarcommand and fixing some classification output