removed non existant paths from templates/config.json, added starts with to regexes