more work on deploy tool