Removed GPL from search.php and removed some unused code