if profile.getPreference('last_run_version') != version.getVersion(False):
profile.putPreference('last_run_version', version.getVersion(False))
profile.performVersionUpgrade()
if profile.getPreference('last_run_version') != version.getVersion(False):
profile.putPreference('last_run_version', version.getVersion(False))
profile.performVersionUpgrade()