Fiddled with port when debugging and added some printouts