Cleanup wget + curl command generation