add jinja syntax
add tab to first line
add reclarations
fix dict
fix syntax errors