Initial version of import script