Adds automatic upgrade support and increments version number