added template and defaults file