scripts to fix names and filter out empty named features