adding autoreconfigure for master and repo