Updated for Tab recognition on page + Triggers