Added commands to give process permissions