Fix some errors in sql script.
Update readme with nbviewer link.
Fix up requirements with links.