Automatically set version number