adding localhost to config