Refactor backup template to work :)