added code to designate port to run on