Prepared the ability to restart/execute custom commands - necessary for running perf measurements with diff jvm parameters