Script that runs replicator after setting correct options.