Don't use CAPICOM, it's not even available in newer Windows systems
Add an example script to generate a random image