add switch for only merge existing things
fix error in syntax
added cross section script from slj