Fix env declarations; URL quoting not the issue :-)