Dynamic Limiting of Slaves for a custom script job