Fix my filepath/querycommand being sent