added type_series field into config. removed hard-coded type series from queries