Update run_gpu.py and allow converttoimage to accept multiple files