add get host and port
adjust dynamic prompt