adjusted logic for choosing which parameters to use in tlxplot cgi script