adding a couple of logs to the runFirefox function