Changed cloning method to https