Read lightsOn.sh. How to use and license there.