fixed attaching external template from string
updated readme