Fixes for wget