[bug 878663] Improve surveygizmo script.