Improved curl calls