Create Query.pl