modified amp grammar and BinaryBoxProtocol.proto_command