Added a async flag option