Mod: move version constant
Mod: add compatibility where the binary is not in the bin/ directory