option to clean workdir when creating engine