Fix some small issues with the imgur script