Adding the script outputquery.sh