modified csv import script to support bulk importing