changes to SQL import script to correct Transfer in flag and Transferred out items