Renamed cli upgrade file and added version check