added control loop for getting multiple passwords per run