fixed script, started CSV reading