To everyone still coming from Reddit - Mojang now blocks access to skins via URL which breaks this script; sorry!