added flags command and handling of flags.yml in plugins