added prerun, readme and example changes