Fixed isOp function and op only commands.