Can probably make this var flashVersion and remove the variable from the above scope.