Add smartwd script - WIP