added the option to use 2 different ports #10