added grpah flag for OSC