Added flags-generate.sh