Allow replicate script to exists on primary and secondary nodes