changes to the pattr utility