Flags

Added the functionality to bring in the flags.