added to documentation and added port choice capability