These scripts were written for diffusion images but should work for other volumes.
dcm2niix should also work.