Added -k option to curl