minor changes- from hard coded server and port values to variables