some debug updates, and major fix for path matching, jer dumb