DB import functionality