Updated sub to include repoconn