Forgot to make it save the image file. Derp. Licence added as well.