Added silent parameter for curl command