dumpscript from marcos