add toWma script