Adding in two ion parity scripts