improve firefox installation handling