Added some debugging
Reverted debug flag