generate tenno script from input text