a compilation of SMA script by Scorch Dev