Debugging issues with the SQL launch, a variable is not behaving in scope.

Change-Id: I140314ea394ad78a7ba63ac61cf3abe03bbc8a59
Signed-off-by: David D. <davidoftheold@gmail.com>