initial changes that allow custom programmatically generated images as inputs