change of script into txt