#1045 - updated and tested script in importing entries