It sounds, like nothing was answered to the question.
Look, you should run qv.exe as
./qv.exe /r /vDeleteData=1 appdatafile.qvw
,where DeleteData is a variable that is passed to script and used in IF statement.
If DeleteData = 1 Then
// Here is the body of reload script
There is a limitation: the script can't use Binary statement in that case.