Switched to getopt instead of getopt_long since it was being a pain. Also updated upload.php accordingly. Also updated README.md.