fixing outdated script