Added code to automatically update version number