REF: Added separate flags for graphs and printing text