Second argument as fallback if query parameter "q" not set

For me, the extension didn't wark and I found that $_GET["q"] doesn't get set but the second argument, $argv[1], does get set to the query.