Pass tail option as separate parameter