Updated sample script

No longer using print statements for messages (logging instead)
Now parses input options
Added seed value option
Some logic improvements