Handle done command