Reenable the contexts select box. It works with switch.php. Change how $rec-uri is processed, it may be an empty string (which is invalid). Remove splitting of index and term in scan clause form, it isn't implemented that way as of now. Add the required parameters as hidden inputs so the forms do work.