Use config  template and type for the plots