Added script gen
Added format arguments to --args