Modified document- commented privious scripts to defining the variable within the script.