Latest script available for Automate contained in zip below for download
Setup
Unzip to folder on your computer or the Automate server.
Open Control Center client - to import go to System>General>Import>XML Expansion.
Browse to the Agent Configuration - Join PC to Domain (2.0).xml file and then click Open. Then click Yes to import.
Next reload system cache then open Toolshed 2.0 to add the new script to your configuration profile(s) and remove the original Join PC to Domain script.
Then you will be ready to generate OneTouch deployment packages using the updated configuration profile.