adds readline
adds resolv