switched to ejs instead of manual templating