Added block threshold as command line option