Fix for issue #4. Now loads environment from an env var.