half way done scripting gen_xls.sh