Add more command options and improve performance

New commands:
-r to rename the file names of the images followed by an incremental number
-h to show the help message

Improvements:
- Get url info only when the file doesn't exist