Added reset command and increased query size