allow saving alignments to be optional