Changed fields of restore-, destroy, and remove command to be local to
the invocations of executeOn.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>