changed the logic for parsing the include tags