Corrections: (1) .wait() not allowed for the subprocess used. (2) .lower must end with ()