move config to vars