Add echoFlags for debug