adding environment variable for each browser type. updating hooks