new flat/corr conversion script for nucle 2.x