Fixed bugs with the lights script as well as GPIO communication