Added stdin option to import