fixed parent site bug in import script