Added option of specifying a text prescription duration.