removed variable in replacement ENC using curl command instead