Move bucket config to config file