Added segment option in command