Added shebang line.
Added RedditBooru gallery support.