fixed handling of tags
enabled external configuration