Updated

Fixed a bug and updated the cloudera function.