Enhance wdim deploy script