dynamic set glags