script and result file for PA