First go at using Bar code scanner plugin