fix: changing terminal yaml line, generalizing forematter splitting