papply shorthand script