Creating flags in the script