properly use ephemeral_dir from bash script