Added append-port flag