Surface tension analysis scripts