fixed line names in optimize, began to add disulfide cst generation