Fixed depth vs maxdepth parameter in fetch-all
Added script to fix files