add template and static file settings