printCSV functions for development env only, need another solution for production