I think you can have the download path automatically set by changing /opt/.tce_dir
Be aware, though, that this file is auto-generated during boot if you have a tce directory, so you'd need to change the file each session..."echo /path/to/new/tce/directory > /opt/.tce_dir" in bootlocal.sh should work.