updated to allow exclusions + refactored logic + made info file json