Fixed issue with sql scripts not being read. Need to fix selecting a value from a column