adding the legacy scripts