updated tpcconfig class working now