added rerolling if bot gets same image twice in a row