Added lots of debug flags