Remove old script code