http:// added to select function