converted host and port from hardcode to input, forced lowercase for responses to questions