Hmm, need more testing. Perhaps environment variables aren't propogating to build