Mike got Heywire to stop taking the drugs, then heywire drew out the map.
Scofields cell was put up for auction and was found that the toilet was leaking, Some fat white guy got the high bid and they needed to make up 500 dollars (Which they did in a card game

) and you probably saw the rest.