modified image output copy script