First version of importWholeProfile