Re-added browserAction with conditionals