papply script added
Papply working