Added dynamic pathing to templates, static files