Fixing urls and adding insecure curl option