Updated some debugging stuff