You can also use the CTT tool for performing web transformation CTT Website
You can then after publishing your files, before deployment using powershell can transform the web config (keeping a transform file) and then simply change the name during deployment