Removes old script (functions were extracted)