added time.sleep(2) so that name field doesn't reset:wq