added changes to lookup.coffee to support csv