added missing flag.Parse()