Is it possible to ghost our current sims pc along with sql express and image it onto a new pc, with a new pc name ?

I know ghost will allow you to change the ssid/pc name after install but is there a way of automating the sql server name change ?