auto generate swatchrc and run swatch