massive update: changed handling for file-relations and image-creation