Updated to support Jenkins Slaves.