Replaced CURLOPT(used in old version) with OPT