script format textbox working