Implement change_box for input script language.