Thanks for the info, I am using SED though a bash script to replace the proper domain during account user and web setup and it works fine, just thought I could take it another step. Read the link on variables and it makes sense, will continue to stick with my current setup.
Thanks!