small script to add a picture with thumbnail in one go