Updated to use http by default