Put CURL stuff into a role