Fix shell scripts--environment variable