add src dir, use global var for TAG_OPEN everywhere