template import/export config
fixed createdOn + added comments + corrected some var names