FVEoptRun: changed parcing params to while-do-done loop