reindent and add version to popup