added csv output to autobin feature