make location variable by moving it into the config