* Add more debug logging
* Only throw regex error if not using application variants