change version to 0.1.3
Use attachSchema in templates