script will no longer crash if 'type' is not present in custom attars, instead it will ignore that attributes