PulsarCrossCorr_v2: added arguments for metadata/logfile to script