updated the inlineImports method so it wil lwork with less imports in
different packages