added a script for cw integration