Replaced host and port commands with env command.