Added URL ref
Fixed some minor bugs in the scripts
Added a fully function SQL only example