Adding cookie discovery