Adds the lsd script.