Update emr-wait-for-completion.sh to add "sudo"