Debug flag should start as false instead of true