added check to see if firefox is running