Change sendRaw method