another split script lots of fixes and starting to moosify