add 'sudo' to re-ownership command and add categories