new db export - mods to some SPs