Made the select option of base quality adapt.
Added optional https.