change localhost to be vagrant