refactoring + allow to redefine version of binary