Pre-process script for PA PTA.