Updated script to run electrostatics
fix script to run electrostatics