adding pnf and R scripts