Fix copy_dir and rmeove trek.sh