Fixed up mistakes in the readme example code