added script importFromPortal