:monkey_face: make am/pm case insensitive, be smarter about nightlight import and put some debug on the rake task