changed configeration paramaer name writeprotocol->protocol