Modified script to output binary image for lane detection