make_imports function

Just process the imports