Thanks, it's working now! @treeform thank you for offering help, but I went with using system tzdata as @GULPF suggested, I wanted to do that from the start, just didn't know it was an option.
Now only two questions remain, both kind of about the same thing regarding gc safety and accessing global variables