import script for legacy system