diff --git a/server b/server
index daf4121d2e0254d01711eee43a6f8b1785905cce..0d3170ae98ffecb892c7243d93c4ee1f78864325 100755
Binary files a/server and b/server differ
diff --git a/site/LinuxTinyServer.cpp b/site/LinuxTinyServer.cpp
index b5da6f54b1a19b67f1696914d1d2590ff0bf0f91..99c298a28fb0443e2208a6b044b64543a3e3a172 100644
--- a/site/LinuxTinyServer.cpp
+++ b/site/LinuxTinyServer.cpp
@@ -183,20 +183,15 @@ void *Talk( void *p )
 			{
 			std::cout << "Requested url = " << fullUrl << std::endl;
 			std::string search = "/search";
-			bool isSearch = true;
-			for ( int i = 0; i < search.size( ); i++ )
-				{
-				if ( potentialSearch[ i ] != search[ i ] )
-					isSearch = false;
-				break;
 
-				}
-			if ( isSearch )
-				{
 
+			if ( potentialSearch.compare(0,7, "/search") == 0)
+				{
 
 				std::cout << "---Making a search GET---" << std::endl;
+				potentialSearch = potentialSearch.erase(0, 8);
 				std::cout << potentialSearch << std::endl;
+
 				}
 			else
 				{
diff --git a/site/search.js b/site/get_search.js
similarity index 100%
rename from site/search.js
rename to site/get_search.js
diff --git a/site/index.html b/site/index.html
index 476ac8f3326b1d09bc369b7b000683be133058ff..1796330b52e78d65a8d9f65d6d3639fbba616150 100644
--- a/site/index.html
+++ b/site/index.html
@@ -2,7 +2,7 @@
 <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
 <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
 <script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
-<script src="search.js"></script>
+<script src="get_search.js"></script>
 </head>
 <!------ Include the above in your HEAD tag ---------->