my $directory = "${\$machine->work_dir}/subdir/${\$machine->software_version}/";