added code to include '[' and ']' to the start/end of the transition string of lights