Updated scripts and search form

Modified some things in the search form for it to work properly with the
back end script. Finished the back end script to generate the basic
starter query that will drive the search form.
Merged Changes