Hook in to rails to read apps/mats dir