Tech Debt: bash index route with template