new command line parameter weave and its implementation