Calibration and TOA generation scripts for NANOGrav data