moving serials before copy templates to resolve an order of operatiosn issue