add command line option to run asyncronous