get rid of the syncronous calls to exec-sync