how to format texts in a script