Change localhost to dynamic location