Fixed stupid bug caused by wrong environment variable name