Hang in there Aaron, sounds like you are doing the right thing. I will pray for you. I've never had to go to prison, so I have no idea what you are going through
. Is there no way you could go to a court-appointed rehab in lieu of prison?
I would bet the depression is a combo of all you are going through. It is normal to experience depression when you stop abusing opiates and it takes the brain a while to get the chemicals leveled out. Can you see a doctor about maybe getting an antidepressant?