Fixed environment variable issue.