Add example program for get region flags call and necessary connector code