CSV gen script