Rewrote import script