changes for streaming through Amazon EC2