added select
added cgi_vars for multiple select