Allow execution duration to be configured using command line arguments