Fix bug where -l wasn't using the format string for urls.
Remove unneeded functions.
Add a flag to disable capitalization of the filenames.
Added command-line switches for everything that is configurable right now.