Updating old script