now you can specify the read rate as a command line argument

also, I renamed read_rate to read_delay