Don't use stdin as the input for "read".

This script is designed to be used as: "curl URL | bash"