Fix namespace bug in psthcorr script