a working version of a blasting script that writes to