template file adjustments