added option to change the port