add checkbox support in scripting interface