improved script to import projects data