Fixing transforms; adding another flag for vr