Update to make deploy task synchronous #3