Update readme and fix script problems