Coding help, session indicator

Hi all, I downloaded this free indicator for session times. It has US, London and Tokyo hours. I added Wellington as another session in the coding. The problem I am having is with the time from 22:00-07:00 chart time. It will only load up the opposite way. (07:00-22:00) The zones only seem to work if the zones are within the 24 hour clock starting at 00:00-24:00 |If a session crosses past 24:00 as wellington does it wont work. Am I missing something in the code? Any help would be appreciated.
Thanks, deweert