Genpact interview question

What would I do to improve a given script.