Modified document- added var show, which shows the final result of the script.