save calculated parameters & curves; control output