change host and dir