fix csv output of sql calls, import indicator csvs