Refactoring scurl FTW.