script to create and upload random images