Simplify pr command