Fix path to monitor script.
Rewrite monitor in python.
Add task to start monitor.