Separating the Gateway and the Workstation formula makes it easier to use the clone-template macro as well as only run the necessary states.