fixed importing of local packages first (I hope)