Set default indices while creating connection