Fix deploy script syntax for primary servers