adding dynamic domain to stackscripts