Added SQL custom rank prefix saving