added --dropnulls and --dropzeroes options