Sustainment of low-q tokamak, ultra-low-q and reversed field pinch discharges in HBTX-1C with a resistive shell