almost done with autogenerating surveys; just wrote docs too.