small fix to downloading script so it works on all sites