Reformat nvram code