added my papply script