complete script to import parties notifications