Magnetic stripe detection added.