Add imagefactory stuff