added ablility to have command create or retrieve tcp port