Curlscript now looks through the directory and returns the script being queries