Changed default spec file name
Fixed missing template.data error handling