Select output as CSV working