Rewrite to point to the right URL again after a site update.
Added .gitignore to ignore emacs backups.
Made script more terse.