Made image paths dynamic