Redesign RELEASE_INFO handling + fix variable replacements within templates