moved some variables to the config