added seed option for random generator and version option