Amended the script to match the queries and added benchamrk