Add pg_replication script