* revert pkg import method. fixes #336