Added page numbering to perm command