fix bug - don't hardcode x86 architecture, use Architecture.guess()
More logging