fixed up template import tags to handle static files.