Added better .hex handling: hurray!