Implemented debug flags