Added debug flags