init for flag and bucket are wrong somehow