Just a nit comment: you don't need string interpolation here (``%s``); just use ``new_password`` variable.