changed pgscripts to pgreplicator