switched to ImageRole image loading and added perl script to generate images