function grab_image & mkdir favicon

function grab_image & mkdir favicon
feel free to move this functions elsewhere