Added resume option to curl command