added error message if commmand isn't recognized
changed port finder to check every port