switches for hostname and password
working on hostname and password switches