initialize particles reading from scripts