Adding path to smGIF and lgGIF for the preview NIFTI