add legacy scripts