handle shebangs in rewrite and search api calls
test rewrite with shebang
test search with shebang