Done debugging. Should be working now.