Added -k flag to curl