added legion script