made image creation parameters configurable