Adding sudo to all -g commands.