Curl update - '-if' added