first version of real import code, break out osc files for the two different kinds of imports