[bug 1035319] Updated deploy script.