Changed port to respect input