rendering corrected for multiple files and color model change added