Fixing versioning issues, added default version for templates