Improve for template
Modify to route static files