Updated get_version to the latest code