Replaces let with sh arithmetic in ec2_submit_workers