Moved config vars to the top