migration and templates path adjustments