Added missing required libraries, csv and erb, to appropriate files