fixed scripts and tested the new version

As for me, these three scripts weren't working out-of-the-box. I fixed them and now they execute as expected, without any error.