added configuration parameter. update readme to specify how to run