Reading command arguments.
Added in comments to code. Because professionalism.
The script can now process tags.
Script now works properly.