Small script for store images. Based on http://d.hatena.ne.jp/yukikimoto/20100212/1265989676 with small modifications.