Fixed version number in upgrade script so can be logged