Fix for running doCommands as OP