Make sudo executable and fix quoting

The previous version didn't work because of the missing quotes for the command.