Update ReplicationScript.sql

Conditional update.