Move flag.Parse out of init