Phlogging script