Finally added custom port assignment via cmd line flag