I wrote a new version today, version 2.0. I fixed a lot of bugs. Now everything is working perfectly! The post has been updated.