Slight modify to make the port int by default