finished dynamic mining setup scripts
dynamic mining: clear, start and stop of vm