added mysql SAM/SYSTEM extraction script