switched to using curl to update script