added flags to GST