additional tweaks to create_alignment_db