have the replica exchange macro to run multistate systems