New update. Automatically sets debtArray. Hopefully no bugs.