gl color export
added flags