script for C01 to TIF conversion