add a few lines which make use of ephemeral storage (if present) to lower I/O costs on AWS