Powder basin script development for ELEMENT