hooks for multiple machines

output to multiple different machines and hooks to change tmp directory
to the output directory