Minor changes
Checks some inputs & use en var to TEICORPO_BASEURL
With check tei type
With written_tei_to_txt
With transcription_to_txt