script to cut xml
refactored feature making scripts