Script to compare ions to the side_chain identity added