Add cd to tail