templates and changing to static path