modified image path for reg