fixes example script. add set-pw route