Allowing for https compadability