move generation to rake task, fix mi_attempts_list cache