move config to main