Code corrections and README update